﻿using Love;
using MyGrid.Core;
using MyGrid.Core.HexTypeA.Visual;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyGrid.Test
{
    internal class Example02 : Scene
    {

        public override void Draw()
        {
            for (int i = 0; i < 1000; i++)
            {
                Graphics.SetColor(Color.Aqua);
                var x = 1f * i / 1000 * 400;
                var y = HexTypeAHitTester.GetSerratedLineY(60, SerratedLineDirection.CenterUpArrow, x, 30);
                Graphics.Circle(DrawMode.Fill, new Vector2(x, y), 1);
            }
        }


        static void Main(string[] args)
        {
            Boot.Run(new Example02(), new BootConfig() { WindowX = -1000, WindowY = 100, WindowBorderless = false });
        }
    }
}
